package com.soxing.braindata.domain.enumeration;

/**
 * 同步响应枚举
 */
public enum SyncResponseEnum {

    SUCCESS(0, "同步成功"),
    FAIL(1, "同步失败"),
    ;

    /**
     * 同步码
     */
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    /**
     * 同步结果
     */
    private String data;

    SyncResponseEnum(int code, String data) {
        this.code = code;
        this.data = data;
    }
}
